package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Goods)实体类
 *
 * @author makejava
 * @since 2020-10-27 15:05:52
 */
@ApiModel(value = "商品实体类")
public class Goods implements Serializable {
    private static final long serialVersionUID = -71560088380130104L;
    /**
     * 商品id
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id",value = "商品id")
    private Integer goodsId;
    /**
     * 商品属性id（外键）
     */
    @ApiModelProperty(name = "coditAttribId",notes = "商品属性id",value = "商品属性id")
    private Integer coditAttribId;
    /**
     * 商品图片id（外键）
     */
    @ApiModelProperty(name = "coditPageId",notes = "商品图片id",value = "商品图片id")
    private Integer coditPageId;
    /**
     * 商品成本价格id（外键）
     */
    @ApiModelProperty(name = "costPriceId",notes = "商品成本价格id",value = "商品成本价格id")
    private Integer costPriceId;
    /**
     * 商品销售价格id(外键)
     */
    @ApiModelProperty(name = "costPriceGoodId",notes = "商品销售价格id",value = "商品销售价格id")
    private Integer costPriceGoodId;
    /**
     * 商品常用信息id（外键）
     */
    @ApiModelProperty(name = "coditInforId",notes = "商品常用信息id",value = "商品常用信息id")
    private Integer coditInforId;
    /**
     * 商品入库状态（1：已审批，0：未审批，-1：审批驳回）
     */
    @ApiModelProperty(name = "goodsStatus",notes = "商品入库状态",value = "商品入库状态")
    private Integer goodsStatus;
    /**
     * 库存单id(外键)
     */
    @ApiModelProperty(name = "iooId",notes = "库存单id",value = "库存单id")
    private Integer iooId;
    /**
     * 商品状态（1：正常，0：被删除）
     */
    @ApiModelProperty(name = "goodsState",notes = "1：正常，0：被删除",value = "商品状态")
    private Integer goodsState;
    /**
     * 门店编码（外键）
     */
    @ApiModelProperty(name = "branchCode",notes = "门店编码",value = "门店编码")
    private Integer branchCode;
    /**
     * 商品属性
     */
    private CoditAttrib coditAttrib;
    /**
     * 商品图片
     */
    private CoditPage coditPage;
    /**
     * 商品成本价格
     */
    private CostPrice costPrice;
    /**
     * 商品常用信息
     */
    private CoditInfor coditInfor;
    /**
     * 商品销售价格
     */
    private CostSelling costSelling;

    /**
     * 库存单
     */
    private Ioo ioo;
    /**
     * 门店
     */
    private Branch branch;

    public Ioo getIoo() {
        return ioo;
    }

    public void setIoo(Ioo ioo) {
        this.ioo = ioo;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getCoditAttribId() {
        return coditAttribId;
    }

    public void setCoditAttribId(Integer coditAttribId) {
        this.coditAttribId = coditAttribId;
    }

    public Integer getCoditPageId() {
        return coditPageId;
    }

    public void setCoditPageId(Integer coditPageId) {
        this.coditPageId = coditPageId;
    }

    public Integer getCostPriceId() {
        return costPriceId;
    }

    public void setCostPriceId(Integer costPriceId) {
        this.costPriceId = costPriceId;
    }

    public Integer getCostPriceGoodId() {
        return costPriceGoodId;
    }

    public void setCostPriceGoodId(Integer costPriceGoodId) {
        this.costPriceGoodId = costPriceGoodId;
    }

    public Integer getCoditInforId() {
        return coditInforId;
    }

    public void setCoditInforId(Integer coditInforId) {
        this.coditInforId = coditInforId;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public CoditAttrib getCoditAttrib() {
        return coditAttrib;
    }

    public void setCoditAttrib(CoditAttrib coditAttrib) {
        this.coditAttrib = coditAttrib;
    }

    public CoditPage getCoditPage() {
        return coditPage;
    }

    public void setCoditPage(CoditPage coditPage) {
        this.coditPage = coditPage;
    }

    public CostPrice getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(CostPrice costPrice) {
        this.costPrice = costPrice;
    }

    public CoditInfor getCoditInfor() {
        return coditInfor;
    }

    public void setCoditInfor(CoditInfor coditInfor) {
        this.coditInfor = coditInfor;
    }

    public CostSelling getCostSelling() {
        return costSelling;
    }

    public void setCostSelling(CostSelling costSelling) {
        this.costSelling = costSelling;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Integer getIooId() {
        return iooId;
    }

    public void setIooId(Integer iooId) {
        this.iooId = iooId;
    }

    public Integer getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(Integer branchCode) {
        this.branchCode = branchCode;
    }

    public Branch getBranch() {
        return branch;
    }

    public void setBranch(Branch branch) {
        this.branch = branch;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", coditAttribId=" + coditAttribId +
                ", coditPageId=" + coditPageId +
                ", costPriceId=" + costPriceId +
                ", costPriceGoodId=" + costPriceGoodId +
                ", coditInforId=" + coditInforId +
                ", goodsStatus=" + goodsStatus +
                ", iooId=" + iooId +
                ", goodsState=" + goodsState +
                ", branchCode=" + branchCode +
                ", coditAttrib=" + coditAttrib +
                ", coditPage=" + coditPage +
                ", costPrice=" + costPrice +
                ", coditInfor=" + coditInfor +
                ", costSelling=" + costSelling +
                ", ioo=" + ioo +
                ", branch=" + branch +
                '}';
    }
}